package com.xiaoyu.izf.service;

import com.xiaoyu.izf.model.VipInfo;
import com.xiaoyu.izf.repository.VipInfoDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VipInfoService {

    @Autowired
    private VipInfoDao vipInfoDao;

    public List<VipInfo> vipInfos(){
        return vipInfoDao.findAll();
    }
}
